package com.lc.railway.ui.activity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.lc.railway.R;
import com.lc.railway.app.AppActivity;
import com.lc.railway.ui.AdvertiseLinearSmoothScroller;
import com.lc.railway.ui.TestAdapter;
import com.lc.railway.ui.TestColumnAdapter;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;


/**
 * @Title：
 * @Description：
 * @Author：huqinghan(19044311)
 * @Date：2021/3/24
 */
public class TestActivity extends AppActivity {


    TestAdapter adapter;
    TestColumnAdapter columnAdapter;
    LinearLayoutManager plvLayoutManager;
    private RecyclerView plv;
    private RecyclerView column;
    private TextView header_title;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        plv = findViewById(R.id.plv);
        column = findViewById(R.id.column);
        header_title = findViewById(R.id.header_title);
        plvLayoutManager = new LinearLayoutManager(this){
            //
            @Override
            public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) {
                AdvertiseLinearSmoothScroller linearSmoothScroller =
                        new AdvertiseLinearSmoothScroller(recyclerView.getContext());
                linearSmoothScroller.setTargetPosition(position);
                startSmoothScroll(linearSmoothScroller);
            }
        };
        plvLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);
        plv.setLayoutManager(plvLayoutManager);
        adapter = new TestAdapter(this);
        adapter.setData(initDataa());
        plv.setAdapter(adapter);


        LinearLayoutManager columnLayoutManager = new LinearLayoutManager(this);
        columnLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);
        column.setLayoutManager(columnLayoutManager);
        columnAdapter = new TestColumnAdapter(this, new TestColumnAdapter.CallBack() {
            @Override
            public void onClick(int index) {
                plv.smoothScrollToPosition(adapter.getItemIndexForGroup(index));
            }
        });
        columnAdapter.setData(initColumnData());
        column.setAdapter(columnAdapter);


        plv.addOnScrollListener(new RecyclerView.OnScrollListener() {
            @Override
            public void onScrollStateChanged(@NonNull RecyclerView recyclerView, int newState) {
                super.onScrollStateChanged(recyclerView, newState);
            }

            @Override
            public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
                super.onScrolled(recyclerView, dx, dy);
                int firstVisibleItem = plvLayoutManager.findFirstVisibleItemPosition();
                Log.e("-----onScrolled-----","firstVisibleItem: " + firstVisibleItem);
                if (firstVisibleItem >= 0) {
                    header_title.setVisibility(View.VISIBLE);
                    header_title.setText(adapter.getItem(firstVisibleItem).optString("TYPE_NAME"));
                    if (firstVisibleItem == 0 || adapter.isGroup(firstVisibleItem)){
                        columnAdapter.setCurrentIndex(adapter.getGroupIndex(firstVisibleItem));
                    }
                    Log.e("----onScrolled--------","ChildCount: " + recyclerView.getChildCount());
                    if (adapter.isGroup(firstVisibleItem + 1)){
                        View childView = plvLayoutManager.findViewByPosition(firstVisibleItem);;
                        if (childView != null) {
                            int titleHeight = header_title.getHeight();
                            int bottom = childView.getBottom();
                            Log.e("-----onScrolled-------", titleHeight + "   " + bottom);
                            ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) header_title.getLayoutParams();
                            if (bottom <= titleHeight) {
                                float pushedDistance = bottom - titleHeight;
                                params.topMargin = (int) pushedDistance;
                                header_title.setLayoutParams(params);
                            } else {
                                if (params.topMargin != 0) {
                                    params.topMargin = 0;
                                    header_title.setLayoutParams(params);
                                }
                            }
                        }
                    } else {
                        ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) header_title.getLayoutParams();
//                        if (params.topMargin != 0) {
                        params.topMargin = 0;
                        header_title.setLayoutParams(params);
//                        }
                    }

                } else {
                    header_title.setVisibility(View.INVISIBLE);
                }
            }
        });


    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_test;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

//

    private JSONArray initDataa() {
        JSONObject jo = null;
        try {
            jo = new JSONObject("{\n" +
                    "\t\"body\": {\n" +
                    "\t\t\"list\": [{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 19,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/nongfushanquan.png\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 3,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"农夫山泉矿泉水\",\n" +
                    "\t\t\t\t\t\t\"ID\": 28,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 3,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559683000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/hongniu.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"红牛\",\n" +
                    "\t\t\t\t\t\t\"ID\": 29,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 25,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559705000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/yizubaishi.png\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"百事可乐\",\n" +
                    "\t\t\t\t\t\t\"ID\": 30,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 44,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559724000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/xuebi.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"雪碧\",\n" +
                    "\t\t\t\t\t\t\"ID\": 31,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 49,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 0,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559740000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 20,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodszhacai_1614560769jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 1,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"猕猴榨菜\",\n" +
                    "\t\t\t\t\t\t\"ID\": 45,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 6,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 20,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560780000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 100,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodshetaoren_1614560830jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 15,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"核桃仁\",\n" +
                    "\t\t\t\t\t\t\"ID\": 46,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 7,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 20,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560840000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/makeboluo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"马可波罗香肠\",\n" +
                    "\t\t\t\t\t\t\"ID\": 47,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 7,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 43,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560863000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 21,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodslibai_1614560029jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 20,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"立白洗衣液\",\n" +
                    "\t\t\t\t\t\t\"ID\": 32,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 54,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 11,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560051000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/heiren.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 15,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"黑人牙膏\",\n" +
                    "\t\t\t\t\t\t\"ID\": 33,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 54,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 48,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560088000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/yizushuibei.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 40,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"水杯\",\n" +
                    "\t\t\t\t\t\t\"ID\": 34,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 55,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 11,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560111000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"盒\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/diaopai.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 8,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"吊牌肥皂\",\n" +
                    "\t\t\t\t\t\t\"ID\": 35,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 55,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 35,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560135000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 22,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/lebashupian.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 3,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"乐吧薯片\",\n" +
                    "\t\t\t\t\t\t\"ID\": 36,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 56,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 5,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560165000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/guoliduo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"果粒多\",\n" +
                    "\t\t\t\t\t\t\"ID\": 37,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 56,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 43,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560203000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/mimixiatiao.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"咪咪虾条\",\n" +
                    "\t\t\t\t\t\t\"ID\": 38,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 2,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560222000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/aoliao.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 10,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"奥利奥\",\n" +
                    "\t\t\t\t\t\t\"ID\": 39,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 29,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560249000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/quduoduo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 10,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"趣多多饼干\",\n" +
                    "\t\t\t\t\t\t\"ID\": 40,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 45,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560265000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/haoliyou.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"好丽友派\",\n" +
                    "\t\t\t\t\t\t\"ID\": 41,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 2,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560282000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/daliyuan.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 11,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"达利园蛋黄派\",\n" +
                    "\t\t\t\t\t\t\"ID\": 42,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 18,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560298000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/bolihaitai.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"波力海苔\",\n" +
                    "\t\t\t\t\t\t\"ID\": 43,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 38,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560318000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodsyanmaisu_1614560368jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 7,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"阿利燕麦酥\",\n" +
                    "\t\t\t\t\t\t\"ID\": 44,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 59,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 44,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560384000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t}\n" +
                    "\t\t]\n" +
                    "\t},\n" +
                    "\t\"head\": {\n" +
                    "\t\t\"msg\": \"000\",\n" +
                    "\t\t\"code\": 10000\n" +
                    "\t}\n" +
                    "}");
        } catch (JSONException e) {
            e.printStackTrace();
        }

        JSONObject body = jo.optJSONObject("body");
        JSONArray list = body.optJSONArray("list");
        JSONArray data = new JSONArray();
        for (int i = 0; i < list.length(); i++) {
            JSONObject listJo = (JSONObject) list.opt(i);
            JSONArray goods = listJo.optJSONArray("goods");
            JSONObject typeList = listJo.optJSONObject("typeList");
            try {
                typeList.putOpt("_isGroup", true);
                data.put(typeList);
                for (int j = 0; j < goods.length(); j++) {
                    data.put(goods.getJSONObject(j));
                }

            } catch (JSONException e) {
                e.printStackTrace();
            }
        }
        return data;
    }

    private JSONArray initColumnData() {
        JSONObject jo = null;
        try {
            jo = new JSONObject("{\n" +
                    "\t\"body\": {\n" +
                    "\t\t\"list\": [{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 19,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/nongfushanquan.png\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 3,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"农夫山泉矿泉水\",\n" +
                    "\t\t\t\t\t\t\"ID\": 28,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 3,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559683000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/hongniu.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"红牛\",\n" +
                    "\t\t\t\t\t\t\"ID\": 29,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 25,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559705000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/yizubaishi.png\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"百事可乐\",\n" +
                    "\t\t\t\t\t\t\"ID\": 30,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 48,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 44,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559724000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"19\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/xuebi.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"雪碧\",\n" +
                    "\t\t\t\t\t\t\"ID\": 31,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 49,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 0,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614559740000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"饮品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 20,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodszhacai_1614560769jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 1,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"猕猴榨菜\",\n" +
                    "\t\t\t\t\t\t\"ID\": 45,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 6,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 20,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560780000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 100,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodshetaoren_1614560830jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 15,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"核桃仁\",\n" +
                    "\t\t\t\t\t\t\"ID\": 46,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 7,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 20,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560840000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"20\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/makeboluo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"马可波罗香肠\",\n" +
                    "\t\t\t\t\t\t\"ID\": 47,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 9,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 7,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 43,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560863000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"副食\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 21,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodslibai_1614560029jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 20,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"立白洗衣液\",\n" +
                    "\t\t\t\t\t\t\"ID\": 32,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 54,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 11,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560051000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/heiren.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 15,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"黑人牙膏\",\n" +
                    "\t\t\t\t\t\t\"ID\": 33,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 54,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 48,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560088000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"瓶\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/yizushuibei.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 40,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"水杯\",\n" +
                    "\t\t\t\t\t\t\"ID\": 34,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 55,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 11,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560111000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"盒\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"21\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/diaopai.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 8,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"吊牌肥皂\",\n" +
                    "\t\t\t\t\t\t\"ID\": 35,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 55,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 35,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560135000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"生活用品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t},\n" +
                    "\t\t\t{\n" +
                    "\t\t\t\t\"typeList\": {\n" +
                    "\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\"ID\": 22,\n" +
                    "\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\"SVR_ID\": 87\n" +
                    "\t\t\t\t},\n" +
                    "\t\t\t\t\"goods\": [{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/lebashupian.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 3,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"乐吧薯片\",\n" +
                    "\t\t\t\t\t\t\"ID\": 36,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 56,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 5,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560165000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/guoliduo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"果粒多\",\n" +
                    "\t\t\t\t\t\t\"ID\": 37,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 56,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 43,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560203000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/mimixiatiao.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 5,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"咪咪虾条\",\n" +
                    "\t\t\t\t\t\t\"ID\": 38,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 2,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560222000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/aoliao.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 10,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"奥利奥\",\n" +
                    "\t\t\t\t\t\t\"ID\": 39,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 29,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560249000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/quduoduo.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 10,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"趣多多饼干\",\n" +
                    "\t\t\t\t\t\t\"ID\": 40,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 57,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 45,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560265000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/haoliyou.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"好丽友派\",\n" +
                    "\t\t\t\t\t\t\"ID\": 41,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 2,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560282000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/daliyuan.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 11,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"达利园蛋黄派\",\n" +
                    "\t\t\t\t\t\t\"ID\": 42,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 18,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560298000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"images/shopping/g/bolihaitai.jpg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 6,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"波力海苔\",\n" +
                    "\t\t\t\t\t\t\"ID\": 43,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 58,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 38,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560318000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t},\n" +
                    "\t\t\t\t\t{\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE_OLD\": null,\n" +
                    "\t\t\t\t\t\t\"SHOP_ID\": 12,\n" +
                    "\t\t\t\t\t\t\"GOODS_FLAG\": 1,\n" +
                    "\t\t\t\t\t\t\"GOODS_HAVE\": 1000,\n" +
                    "\t\t\t\t\t\t\"SVR_ID\": 87,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_ID\": null,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BARCODE\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_ID\": \"22\",\n" +
                    "\t\t\t\t\t\t\"GOODS_MSG\": \"http://cdn.tyfbox.com/ShopGoods/goodsyanmaisu_1614560368jpeg\",\n" +
                    "\t\t\t\t\t\t\"GOODS_SALES\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_PRICE\": 7,\n" +
                    "\t\t\t\t\t\t\"SHOP_TYPE\": 1,\n" +
                    "\t\t\t\t\t\t\"COMMODITY_BRAND\": null,\n" +
                    "\t\t\t\t\t\t\"GOODS_NAME\": \"阿利燕麦酥\",\n" +
                    "\t\t\t\t\t\t\"ID\": 44,\n" +
                    "\t\t\t\t\t\t\"CREATE_TIME\": {\n" +
                    "\t\t\t\t\t\t\t\"date\": 1,\n" +
                    "\t\t\t\t\t\t\t\"day\": 1,\n" +
                    "\t\t\t\t\t\t\t\"hours\": 8,\n" +
                    "\t\t\t\t\t\t\t\"minutes\": 59,\n" +
                    "\t\t\t\t\t\t\t\"month\": 2,\n" +
                    "\t\t\t\t\t\t\t\"nanos\": 0,\n" +
                    "\t\t\t\t\t\t\t\"seconds\": 44,\n" +
                    "\t\t\t\t\t\t\t\"time\": 1614560384000,\n" +
                    "\t\t\t\t\t\t\t\"timezoneOffset\": -480,\n" +
                    "\t\t\t\t\t\t\t\"year\": 121\n" +
                    "\t\t\t\t\t\t},\n" +
                    "\t\t\t\t\t\t\"WEIGHT\": null,\n" +
                    "\t\t\t\t\t\t\"TYPE_NAME\": \"休闲小食品\",\n" +
                    "\t\t\t\t\t\t\"REMARK\": \"个\",\n" +
                    "\t\t\t\t\t\t\"STANDARD\": null\n" +
                    "\t\t\t\t\t}\n" +
                    "\t\t\t\t]\n" +
                    "\t\t\t}\n" +
                    "\t\t]\n" +
                    "\t},\n" +
                    "\t\"head\": {\n" +
                    "\t\t\"msg\": \"000\",\n" +
                    "\t\t\"code\": 10000\n" +
                    "\t}\n" +
                    "}");
        } catch (JSONException e) {
            e.printStackTrace();
        }

        JSONObject body = jo.optJSONObject("body");
        JSONArray list = body.optJSONArray("list");
        JSONArray data = new JSONArray();
        for (int i = 0; i < list.length(); i++) {
            JSONObject listJo = (JSONObject) list.opt(i);
            JSONArray goods = listJo.optJSONArray("goods");
            JSONObject typeList = listJo.optJSONObject("typeList");
            try {
                typeList.putOpt("_isGroup", true);
                data.put(typeList);
            } catch (JSONException e) {
                e.printStackTrace();
            }
        }
        return data;
    }


}
